.home {
  position: relative;
  padding-bottom: 50px;
}
.cate-nav {
  padding: 10px 0;
  &__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    img {
      width: 48px;
    }
    h2 {
      margin-top: 7px;
      font-size: 13px;
      font-weight: normal;
    }
  }
}
@mixin loading {
  &--none, &--loading {
    text-align: center;
    padding: 20px 0 40px;
  }
  &--loading {
    display: flex;
    justify-content: center;
  }
}
.recommend-rent {
  padding: 0 10px;
  background-color: #f6f5f6;
  overflow: hidden;
  @include loading;
  &-title {
    margin: 15px 0;
    padding-left: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    .more {
      font-size: 14px;
      font-weight: normal;
      color: #787d82;
    }
  }
  &-list {
    .am-flexbox {
      margin-bottom: 10px;
      background-color: transparent;
    }
    .am-grid-item {
      background-color: #fff;
      &:nth-child(2n) {
        margin-left: 10px;
      }
      &-content {
        padding: 0 !important;
      }
    }
    &__item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px 30px;
      &:nth-child(2n) {
        margin-left: 10px;
      }
      h3 {
        margin-bottom: 5px;
        font-size: 13px;
      }
      p {
        font-size: 12px;
        color: #999;
      }
      img {
        width: 55px;
      }
    }
  }
}
.news {
  padding: 10px 10px 0;
  &-title {
    margin: 10px 0 5px 10px;
    font-size: 15px;
  }
  .news-list {
    @include loading;
    &__item {
      height: 120px;
      padding: 15px 10px 15px 0;
      border-bottom: 1px solid #e5e5e5;
      img {
        width: 120px;
        height: 90px;
      }
      .desc {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 1;
        height: 100%;
        margin-left: 12px;
        h3 {
          font-size: 14px;
        }
        p {
          display: flex;
          justify-content: space-between;
          font-size: 12px;
          color: #9c9fa1;
        }
      }
    }
  }
}